package com.zero2oneblog;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
//@EnableScheduling  //这里记得加这个，不然定时任务不会执行
@MapperScan("com.zero2oneblog.mapper")//@MapperScan是MyBatis的，还要单独引入MyBatis的依赖
//@MapperScan({"com.zero2oneblog.mapper","com.zero2oneblog.mapper.test"})
public class Zero2oneblogApplication {

    public static void main(String[] args) {
        SpringApplication.run(Zero2oneblogApplication.class, args);
    }

}
